3.3.23 \(\int \frac {\sqrt {1-a^2 x^2}}{\sqrt {x} \sqrt {1-a x}} \, dx\)

Optimal. Leaf size=34 \[ \sqrt {x} \sqrt {a x+1}+\frac {\sinh ^{-1}\left (\sqrt {a} \sqrt {x}\right )}{\sqrt {a}} \]

________________________________________________________________________________________

Rubi [A]  time = 0.03, antiderivative size = 34, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 4, integrand size = 30, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.133, Rules used = {848, 50, 54, 215} \begin {gather*} \sqrt {x} \sqrt {a x+1}+\frac {\sinh ^{-1}\left (\sqrt {a} \sqrt {x}\right )}{\sqrt {a}} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[Sqrt[1 - a^2*x^2]/(Sqrt[x]*Sqrt[1 - a*x]),x]

[Out]

Sqrt[x]*Sqrt[1 + a*x] + ArcSinh[Sqrt[a]*Sqrt[x]]/Sqrt[a]

Rule 50

Int[((a_.) + (b_.)*(x_))^(m_)*((c_.) + (d_.)*(x_))^(n_), x_Symbol] :> Simp[((a + b*x)^(m + 1)*(c + d*x)^n)/(b*
(m + n + 1)), x] + Dist[(n*(b*c - a*d))/(b*(m + n + 1)), Int[(a + b*x)^m*(c + d*x)^(n - 1), x], x] /; FreeQ[{a
, b, c, d}, x] && NeQ[b*c - a*d, 0] && GtQ[n, 0] && NeQ[m + n + 1, 0] &&  !(IGtQ[m, 0] && ( !IntegerQ[n] || (G
tQ[m, 0] && LtQ[m - n, 0]))) &&  !ILtQ[m + n + 2, 0] && IntLinearQ[a, b, c, d, m, n, x]

Rule 54

Int[1/(Sqrt[(a_.) + (b_.)*(x_)]*Sqrt[(c_.) + (d_.)*(x_)]), x_Symbol] :> Dist[2/Sqrt[b], Subst[Int[1/Sqrt[b*c -
 a*d + d*x^2], x], x, Sqrt[a + b*x]], x] /; FreeQ[{a, b, c, d}, x] && GtQ[b*c - a*d, 0] && GtQ[b, 0]

Rule 215

Int[1/Sqrt[(a_) + (b_.)*(x_)^2], x_Symbol] :> Simp[ArcSinh[(Rt[b, 2]*x)/Sqrt[a]]/Rt[b, 2], x] /; FreeQ[{a, b},
 x] && GtQ[a, 0] && PosQ[b]

Rule 848

Int[((d_) + (e_.)*(x_))^(m_)*((f_.) + (g_.)*(x_))^(n_)*((a_) + (c_.)*(x_)^2)^(p_.), x_Symbol] :> Int[(d + e*x)
^(m + p)*(f + g*x)^n*(a/d + (c*x)/e)^p, x] /; FreeQ[{a, c, d, e, f, g, m, n}, x] && NeQ[e*f - d*g, 0] && EqQ[c
*d^2 + a*e^2, 0] && (IntegerQ[p] || (GtQ[a, 0] && GtQ[d, 0] && EqQ[m + p, 0]))

Rubi steps

\begin {align*} \int \frac {\sqrt {1-a^2 x^2}}{\sqrt {x} \sqrt {1-a x}} \, dx &=\int \frac {\sqrt {1+a x}}{\sqrt {x}} \, dx\\ &=\sqrt {x} \sqrt {1+a x}+\frac {1}{2} \int \frac {1}{\sqrt {x} \sqrt {1+a x}} \, dx\\ &=\sqrt {x} \sqrt {1+a x}+\operatorname {Subst}\left (\int \frac {1}{\sqrt {1+a x^2}} \, dx,x,\sqrt {x}\right )\\ &=\sqrt {x} \sqrt {1+a x}+\frac {\sinh ^{-1}\left (\sqrt {a} \sqrt {x}\right )}{\sqrt {a}}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.01, size = 34, normalized size = 1.00 \begin {gather*} \sqrt {x} \sqrt {a x+1}+\frac {\sinh ^{-1}\left (\sqrt {a} \sqrt {x}\right )}{\sqrt {a}} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[Sqrt[1 - a^2*x^2]/(Sqrt[x]*Sqrt[1 - a*x]),x]

[Out]

Sqrt[x]*Sqrt[1 + a*x] + ArcSinh[Sqrt[a]*Sqrt[x]]/Sqrt[a]

________________________________________________________________________________________

IntegrateAlgebraic [F]  time = 2.21, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\sqrt {1-a^2 x^2}}{\sqrt {x} \sqrt {1-a x}} \, dx \end {gather*}

Verification is not applicable to the result.

[In]

IntegrateAlgebraic[Sqrt[1 - a^2*x^2]/(Sqrt[x]*Sqrt[1 - a*x]),x]

[Out]

Defer[IntegrateAlgebraic][Sqrt[1 - a^2*x^2]/(Sqrt[x]*Sqrt[1 - a*x]), x]

________________________________________________________________________________________

fricas [B]  time = 0.45, size = 208, normalized size = 6.12 \begin {gather*} \left [-\frac {4 \, \sqrt {-a^{2} x^{2} + 1} \sqrt {-a x + 1} a \sqrt {x} - {\left (a x - 1\right )} \sqrt {a} \log \left (-\frac {8 \, a^{3} x^{3} - 4 \, \sqrt {-a^{2} x^{2} + 1} {\left (2 \, a x + 1\right )} \sqrt {-a x + 1} \sqrt {a} \sqrt {x} - 7 \, a x - 1}{a x - 1}\right )}{4 \, {\left (a^{2} x - a\right )}}, -\frac {2 \, \sqrt {-a^{2} x^{2} + 1} \sqrt {-a x + 1} a \sqrt {x} - {\left (a x - 1\right )} \sqrt {-a} \arctan \left (\frac {2 \, \sqrt {-a^{2} x^{2} + 1} \sqrt {-a x + 1} \sqrt {-a} \sqrt {x}}{2 \, a^{2} x^{2} - a x - 1}\right )}{2 \, {\left (a^{2} x - a\right )}}\right ] \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((-a^2*x^2+1)^(1/2)/x^(1/2)/(-a*x+1)^(1/2),x, algorithm="fricas")

[Out]

[-1/4*(4*sqrt(-a^2*x^2 + 1)*sqrt(-a*x + 1)*a*sqrt(x) - (a*x - 1)*sqrt(a)*log(-(8*a^3*x^3 - 4*sqrt(-a^2*x^2 + 1
)*(2*a*x + 1)*sqrt(-a*x + 1)*sqrt(a)*sqrt(x) - 7*a*x - 1)/(a*x - 1)))/(a^2*x - a), -1/2*(2*sqrt(-a^2*x^2 + 1)*
sqrt(-a*x + 1)*a*sqrt(x) - (a*x - 1)*sqrt(-a)*arctan(2*sqrt(-a^2*x^2 + 1)*sqrt(-a*x + 1)*sqrt(-a)*sqrt(x)/(2*a
^2*x^2 - a*x - 1)))/(a^2*x - a)]

________________________________________________________________________________________

giac [F(-2)]  time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: NotImplementedError} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((-a^2*x^2+1)^(1/2)/x^(1/2)/(-a*x+1)^(1/2),x, algorithm="giac")

[Out]

Exception raised: NotImplementedError >> Unable to parse Giac output: Warning, choosing root of [1,0,%%%{-4,[1
,1]%%%}+%%%{-4,[1,0]%%%}+%%%{-4,[0,1]%%%}+%%%{-4,[0,0]%%%},0,%%%{6,[2,2]%%%}+%%%{4,[2,1]%%%}+%%%{6,[2,0]%%%}+%
%%{4,[1,2]%%%}+%%%{16,[1,1]%%%}+%%%{4,[1,0]%%%}+%%%{6,[0,2]%%%}+%%%{4,[0,1]%%%}+%%%{6,[0,0]%%%},0,%%%{-4,[3,3]
%%%}+%%%{4,[3,2]%%%}+%%%{4,[3,1]%%%}+%%%{-4,[3,0]%%%}+%%%{4,[2,3]%%%}+%%%{-52,[2,2]%%%}+%%%{12,[2,1]%%%}+%%%{4
,[2,0]%%%}+%%%{4,[1,3]%%%}+%%%{12,[1,2]%%%}+%%%{-52,[1,1]%%%}+%%%{4,[1,0]%%%}+%%%{-4,[0,3]%%%}+%%%{4,[0,2]%%%}
+%%%{4,[0,1]%%%}+%%%{-4,[0,0]%%%},0,%%%{1,[4,4]%%%}+%%%{-4,[4,3]%%%}+%%%{6,[4,2]%%%}+%%%{-4,[4,1]%%%}+%%%{1,[4
,0]%%%}+%%%{-4,[3,4]%%%}+%%%{8,[3,3]%%%}+%%%{-8,[3,2]%%%}+%%%{8,[3,1]%%%}+%%%{-4,[3,0]%%%}+%%%{6,[2,4]%%%}+%%%
{-8,[2,3]%%%}+%%%{20,[2,2]%%%}+%%%{-8,[2,1]%%%}+%%%{6,[2,0]%%%}+%%%{-4,[1,4]%%%}+%%%{8,[1,3]%%%}+%%%{-8,[1,2]%
%%}+%%%{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%}+%%%{1,[0,0]%%%}]
at parameters values [71.707969239,78.6493344628]-2/abs(a)*a^2/a*(1/2*ln(abs(-sqrt(a)*sqrt(a*x+1)+sqrt(a*(a*x+
1)-a)))/sqrt(a)-1/2*sqrt(a*(a*x+1)-a)*sqrt(a*x+1)/a+(sqrt(2)-ln(abs(-sqrt(2)*sqrt(a)+sqrt(a))))/2/sqrt(a))

________________________________________________________________________________________

maple [B]  time = 0.01, size = 86, normalized size = 2.53 \begin {gather*} -\frac {\sqrt {-a^{2} x^{2}+1}\, \sqrt {-a x +1}\, \left (\ln \left (\frac {2 a x +2 \sqrt {\left (a x +1\right ) x}\, \sqrt {a}+1}{2 \sqrt {a}}\right )+2 \sqrt {\left (a x +1\right ) x}\, \sqrt {a}\right ) \sqrt {x}}{2 \left (a x -1\right ) \sqrt {\left (a x +1\right ) x}\, \sqrt {a}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((-a^2*x^2+1)^(1/2)/x^(1/2)/(-a*x+1)^(1/2),x)

[Out]

-1/2*(-a^2*x^2+1)^(1/2)*x^(1/2)*(-a*x+1)^(1/2)*(2*((a*x+1)*x)^(1/2)*a^(1/2)+ln(1/2*(2*((a*x+1)*x)^(1/2)*a^(1/2
)+2*a*x+1)/a^(1/2)))/(a*x-1)/((a*x+1)*x)^(1/2)/a^(1/2)

________________________________________________________________________________________

maxima [F]  time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\sqrt {-a^{2} x^{2} + 1}}{\sqrt {-a x + 1} \sqrt {x}}\,{d x} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((-a^2*x^2+1)^(1/2)/x^(1/2)/(-a*x+1)^(1/2),x, algorithm="maxima")

[Out]

integrate(sqrt(-a^2*x^2 + 1)/(sqrt(-a*x + 1)*sqrt(x)), x)

________________________________________________________________________________________

mupad [F]  time = 0.00, size = -1, normalized size = -0.03 \begin {gather*} \int \frac {\sqrt {1-a^2\,x^2}}{\sqrt {x}\,\sqrt {1-a\,x}} \,d x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((1 - a^2*x^2)^(1/2)/(x^(1/2)*(1 - a*x)^(1/2)),x)

[Out]

int((1 - a^2*x^2)^(1/2)/(x^(1/2)*(1 - a*x)^(1/2)), x)

________________________________________________________________________________________

sympy [F]  time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\sqrt {- \left (a x - 1\right ) \left (a x + 1\right )}}{\sqrt {x} \sqrt {- a x + 1}}\, dx \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((-a**2*x**2+1)**(1/2)/x**(1/2)/(-a*x+1)**(1/2),x)

[Out]

Integral(sqrt(-(a*x - 1)*(a*x + 1))/(sqrt(x)*sqrt(-a*x + 1)), x)

________________________________________________________________________________________